{extend name="base" /}
{block name="title"}
<title>{$config.web_title} - {$config.seo_title}</title>
<meta name="keywords" content="{$config.keywords}" />
<meta name="description" content="{$config.description}" />
{/block}

{block name="content"}

    <div class="widewrapper main">
        <div class="container">
            <div class="row">
                <div class="col-md-8 blog-main">
                    <article class="blog-post">
                        <header>
                           
                            <div class="lead-image">
                                <img src="" alt="" class="img-responsive">
                                
                            </div>
                        </header>
                        <div class="body">
                            <h2>{$data.title}</h2>
                            <div class="meta">
                                <i class="fa fa-user"></i> {$data.editor} <i class="fa fa-calendar"></i>{$data.create_time|date='Y-m-d H:i:s',###}<i class="fa fa-comments"></i><span class="data"><a href="#comments">3 Comments</a></span>
                            </div>

                            <div class="content">
                                {$data.content}
                            </div>
                        </div>
                    </article>

                    <aside class="social-icons clearfix">
                        {/*<h3>分享到 </h3><a href="#"><i class="fa fa-facebook"></i></a> <a href="#"><i class="fa fa-twitter"></i></a> <a href="#"><i class="fa fa-google"></i></a>*/}
                        <div class="bdsharebuttonbox" style="margin: 0 auto">
                            <a href="#" class="bds_more" data-cmd="more"></a>
                            <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
                            <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
                            <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
                            <a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a>
                            <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                        </div>
                        <script>
                            window._bd_share_config = {
                                "common": {
                                    "bdSnsKey": {},
                                    "bdText": "",
                                    "bdMini": "2",
                                    "bdPic": "",
                                    "bdStyle": "0",
                                    "bdSize": "16"
                                },
                                "share": {},
                                "image": {
                                    "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"],
                                    "viewText": "分享到：",
                                    "viewSize": "16"
                                }
                            };
                            with(document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~ ( - new Date() / 36e5)];</script>
                    </aside>

                    {/*<aside class="comments" id="comments">
                        <hr>
                        <h2><i class="fa fa-comments"></i> 6 Comments</h2>
                        <article class="comment">   */}{/* reply */}{/*
                            <header class="clearfix">
                                <img src="img/avatar.png" alt="A Smart Guy" class="avatar">
                                <div class="meta">
                                    <h3><a href="#">John Doe</a></h3>
                                    <span class="date">24 August 2015</span>
                                    <span class="separator">-</span>
                                    <a href="#create-comment" class="reply-link">Reply</a>                
                                </div>
                            </header>

                             <div class="body">
                               Lorem ipsum dolor sit amet, consectetur adipisicing elit.
                            </div>
                        </article>
                    </aside>*/}

                    <aside class="create-comment" id="create-comment">
                        <hr>
                        {/*<h2><i class="fa fa-pencil"></i> 撰写评论 </h2>
                        <form action="#" method="get" accept-charset="utf-8">
                            <div class="row">
                                <div class="col-md-6">
                                    <input type="text" name="name" id="comment-name" placeholder="用户名" class="form-control input-lg">
                                </div>
                                <div class="col-md-6">
                                    <input type="email" name="email" id="comment-email" placeholder="邮箱" class="form-control input-lg">
                                </div>
                            </div>

                            <input type="url" name="name" id="comment-url" placeholder="网址" class="form-control input-lg">

                            <textarea rows="10" name="message" id="comment-body" placeholder="在这里输入评论" class="form-control input-lg"></textarea>

                            <div class="buttons clearfix">
                                <button type="submit" class="btn btn-xlarge btn-clean-one">提交</button>
                            </div>
                        </form>*/}
                        <div id="SOHUCS" sid="{$data.id}"></div>
                        <script charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/changyan.js" ></script>
                        <script type="text/javascript">
                            window.changyan.api.config({
                                appid: 'cyspDB9m9',
                                conf: 'prod_eac67d48986f6887a47f9507889d5efc'
                            });
                        </script>
                    </aside>
                </div>

                {__block__}

            </div>
        </div>
    </div>
    <script type="text/javascript" src="/increment?type=article&id={$data.id}"></script>
{/block}